WeDevs\ERP\Accounting\API\CustomersController A

Total Complexity 59
Dependencies 4
Dependents 0
Total lines 786
Lines of code 569
Logical lines of code 198
Comment lines 107
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
prepare_item_for_database()
B
41 19 60
get_item_schema()
A
32 1 166
get_customers()
A
46 7 36
register_routes()
S
36 1 116
prepare_item_for_response()
S
46 6 36
get_customer()
S
50 6 26
add_log()
S
51 6 25
bulk_delete_customers()
S
53 4 22
update_customer()
S
55 2 18
delete_customer()
S
55 2 18
create_customer()
S
57 2 16
filter_transactions()
S
61 1 13
get_countries()
S
63 1 11
get_transactions()
S
69 1 6